import request from '@/common/request.js'

export function Account(data) {
	return request.globalRequest('/user/index', 'POST', data, 2);
}

export function getReceiver(data) {
	return request.globalRequest('/user/getReceiver', 'POST', data, 2);
}

export function likeList(data) {
	return request.globalRequest('/user/likeList', 'POST', data, 2);
}

export function couponList(data) {
	return request.globalRequest('/user/couponList', 'POST', data, 2);
}

export function udpAccount(data) {
	return request.globalRequest('/user/update', 'POST', data, 2);
}

export function reviewList(data) {
	return request.globalRequest('/review/list', 'POST', data, 2);
}

export function reviewedList(data) {
	return request.globalRequest('/review/reviewedList', 'POST', data, 2);
}

export function reviewSave(data) {
	return request.globalRequest('/review/save', 'POST', data, 3);
}

export function statusCount(data) {
	return request.globalRequest('/order/statusCount', 'POST', data, 3);
}

export function couponCodeEx(data) {
	return request.globalRequest('/couponCode/exchange', 'POST', data, 2);
}

export function getCouponList(data) {
	return request.globalRequest('/public/getCouponList', 'POST', data, 2);
}

export function getMessageList(data) {
	return request.globalRequest('/user/getMessageList', 'POST', data, 2);
}

export function getMessage(data) {
	return request.globalRequest('/user/getMessage', 'POST', data, 2);
}




